package com.mims.remote;

import java.net.MalformedURLException;
import java.net.URL;
import java.rmi.RemoteException;

import javax.xml.rpc.ServiceException;

import org.apache.axis.client.Service;
public class Test {
	public static void main(String[] args) throws RemoteException, ServiceException, MalformedURLException {
		Service service=new Service();
		SmsServiceRemote temp=new SmsServiceRemoteServiceSoapBindingStub(new URL("http://61.163.200.250:7070/sms/service/sendsms?wsdl"),service);
		String[] phones=new String[]{"13838250184"};
		String result=temp.sends(phones, "bbbbbbbbbbbb","","client","crm","crm201201010101");
//		String result=temp.sendByShortNumber("18637116563", "1124",new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()),"zhaoshixing","555","crm","crm201201010101");
		System.out.println(result);
	}

}
